package com.learn.annotate;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface HelloAnnotation {
    String hello() default "hi";
    int[] array() default {2,4,5,6};
    RetentionPolicy lamp();
    MyAnnotation myannotation() default @MyAnnotation(value = "999");
    Class style() default String.class;

}
